//
//  MultipleLayersNode.hpp
//  NMGame-mobile
//
//  Created by nieming on 2018/8/21.
//

#ifndef QMultipleLayersNode_hpp
#define QMultipleLayersNode_hpp

#include "cocos2d.h"
#include "ui/CocosGUI.h"

class MultipleLayersNode :public cocos2d::ui::Layout{
public:
    static MultipleLayersNode * create();
    MultipleLayersNode();
    ~MultipleLayersNode();
    void visit(cocos2d::Renderer *renderer, const cocos2d::Mat4 &parentTransform, uint32_t parentFlags, short curLayerNum, bool isEnd);
    void copyProp(cocos2d::ui::Widget* model);
protected:
    virtual MultipleLayersNode * createCloneInstance() override;
  
protected:
    short _zOrderLessZeroIndex;
    uint32_t _curFlag;
    bool _canVisit;
    
};


#endif /* QMultipleLayersNode_hpp */
